package com.person.mall.service;

import com.person.mall.pojo.User;
import com.person.mall.vo.ResponseVo;

/**
 * @author 最酷的桃儿wjc
 * * @date 2022/5/14
 */
public interface IUserService {
    /**
     * 注册用户
     * @param user
     */
    ResponseVo<User> registerUser(User user);


    /**
     * 用户登录
     * @param username
     * @param password
     * @return
     */
    ResponseVo<User> loginUser(String username,String password);
}
